package com.repair.rpc.utils;

import lombok.Getter;

/**
 * @author chunyu
 * @since 2024/10/22,19:54
 */
@Getter
public enum FacadeResponse {

    /**
     * 成功
     */
    SUCCESS("SUCCESS", "请求成功"),

    /**
     * 失败
     */
    FAIL("FAIL", "请求失败");

    private final String code;
    private final String message;

    FacadeResponse(String code, String message) {
        this.code = code;
        this.message = message;
    }

}
